package com.zc.trendsDispatch.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 场站历史功率数据对象 charge_station_collection
 * 
 * @author ruoyi
 * @date 2024-05-10
 */
public class ChargeStationCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 场站编号 */
    @Excel(name = "场站编号")
    private String stationCode;

    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectionDate;

    /** 采集值 */
    @Excel(name = "采集值")
    private String collectionValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStationCode(String stationCode) 
    {
        this.stationCode = stationCode;
    }

    public String getStationCode() 
    {
        return stationCode;
    }
    public void setCollectionDate(Date collectionDate) 
    {
        this.collectionDate = collectionDate;
    }

    public Date getCollectionDate() 
    {
        return collectionDate;
    }
    public void setCollectionValue(String collectionValue) 
    {
        this.collectionValue = collectionValue;
    }

    public String getCollectionValue() 
    {
        return collectionValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationCode", getStationCode())
            .append("collectionDate", getCollectionDate())
            .append("collectionValue", getCollectionValue())
            .toString();
    }
}
